package com.gdziarmaga.webshop.client.services;

import java.util.List;

import com.gdziarmaga.webshop.book.model.Book;
import com.gdziarmaga.webshop.client.model.BookClient;
import com.gdziarmaga.webshop.client.model.Client;
import com.gdziarmaga.webshop.utils.filtering.BaseFilter;

public interface ClientManager {

	Client getClientById(Long clientId);
	
	void removeClientById(Long clientId);

	Client getClientByFirst_name(String first_name);
	
	Client getClientByEmail(String email);

	Client getClientByLast_name(String last_name);

	void saveClient(final Client client);
	
	List<BookClient> getBooksOfClient(Client client);
	
	List<Client> getClientByFilter(BaseFilter filter);
	
	void saveClientBook(BookClient bookClient);

}
